package com.syni.mdd.yhd.common.all.enums.activity;

import com.syni.mdd.sjb.common.component.utils.common.enums.ReturnEnums;

/**
 * @className ActivityEnums
 * @description TOO
 * @Author cfx
 * @DATE 2019/12/15 22:15
 * @VERSION 1.0
 **/
public enum ActivityEnums implements ReturnEnums {
    ACTIVITY_CLOSE("活动已关闭","201"),
    ACTIVITY_OVER("活动已过期","202"),
    CAN_HELP("今日可助力","203"),
    NO_USE("抽奖次数已用完","204"),
    DONT_SOMKE("没抽中","205"),
    SYS_DELAY("系统延迟，请重试","206"),
    HELP_MAX("今日助力份额已上限","207"),
    ACTIVITY_LINE_FAIL("该链接已失效","208");
    private String desc;
    private String returnCode;

    ActivityEnums(String desc, String returnCode) {
        this.desc = desc;
        this.returnCode = returnCode;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    // 普通方法
    public String getCode() {
        return returnCode;
    }

    public String getMsg() {
        return desc;
    }
}
